Telerik WPF Controls Tutorial by 2014

Telerik WPF Controls Tutorial by 2014

Author:2014
Language: eng
Format: mobi
Publisher: Packt Publishing


This is how the combobox binding should be done:

<telerik:RadComboBox x:Name="comboTestValue" SelectedValue="{local:ValidationBinding Path=ComboTest}" HorizontalAlignment="Left" Margin="19,37,0,0" VerticalAlignment="Top" Width="250" Grid.ColumnSpan="2"/>

The Path=value in the XAML code should be set to the CustomerEntity class property that is to be bound to the selected control. In the case of TextBox, the LName property in the CustomerEntity class will be bound to textLName TextBox. Once you have the binding set up in the controls, the next step will be to create an instance of the bound object and set the window's DataContext property to that object. The following is how the code should appear in the window's instance method:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.